enabling the realtime clock 1-wire chip DS1307 and 1-wire on GPIO4 (as a module)
authorpopcornmix <popcornmix@gmail.com>
Wed, 8 May 2013 10:46:50 +0000 (11:46 +0100)
committerRaspbian kernel package updater <root@raspbian.org>
Thu, 15 Feb 2018 17:28:15 +0000 (17:28 +0000)
commit1d27f3d5d8acefd8d2a4a2481e7d4a8cc9a72748
tree39686ad6f4a223e6578715e28ff8dd48daa5d801
parent93dd648610809337d4af296a90e74cd3ca2b47c9
enabling the realtime clock 1-wire chip DS1307 and 1-wire on GPIO4 (as a module)

1-wire: Add support for configuring pin for w1-gpio kernel module
See: https://github.com/raspberrypi/linux/pull/457

Add bitbanging pullups, use them for w1-gpio

Allows parasite power to work, uses module option pullup=1

bcm2708: Ensure 1-wire pullup is disabled by default, and expose as module parameter

Signed-off-by: Alex J Lennon <ajlennon@dynamicdevices.co.uk>
w1-gpio: Add gpiopin module parameter and correctly free up gpio pull-up pin, if set

Signed-off-by: Alex J Lennon <ajlennon@dynamicdevices.co.uk>
w1-gpio: Sort out the pullup/parasitic power tangle
drivers/w1/masters/w1-gpio.c
drivers/w1/w1.h
drivers/w1/w1_int.c
drivers/w1/w1_io.c
include/linux/w1-gpio.h